package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Catalog;

import java.util.List;

public interface CatalogService {
    PageInfo<Catalog> findByPage(int currentPage, int pageSize);

    void save(Catalog catalog);

    Catalog findById(String catalogId);

    void edit(Catalog catalog);

    void delete(String[] ids);

    List<Catalog> findAll();
}
